package com.wn.mapper;

import com.wn.ov.MedicalRecordOv;
import com.wn.pojo.MedicalRecord;

public interface MedicalRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MedicalRecord record);

    int insertSelective(MedicalRecord record);

    MedicalRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MedicalRecord record);

    int updateByPrimaryKey(MedicalRecord record);

    MedicalRecord selectByPIdAndDId(int patientId);

    MedicalRecordOv getMedicalRecordOv(int patientId);
}